﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TweNet.Library.Interfaces;
using System.Configuration;
using LinqToTwitter;

namespace TweNet.Library.Classes
{
    public class TwitterManager : ITwitterManager
    {
        private ITwitterAuthorization  auth { get; set; }
        private TwitterContext twitterCtx { get; set; }

        public void Conectar()
        {
            auth = new DesktopOAuthAuthorization
            {
                ConsumerKey = ConfigurationManager.AppSettings["ConsumerKey"],
                ConsumerSecret = ConfigurationManager.AppSettings["ConsumerSecret"],
                UseCompression = true
            };
        }
    }
}
